<?php 

$id=$_GET['id'];
include '../Classes/attstudentHandler.php';
include '../Classes/db.php';

$w=new Dbconnect();
$con=$w->getConnection();

$attstud=new AttStudentHandler();//create a new object
$attstud->setConnect($con);
$result=$attstud->getDelete($id);
echo $result;

?>
